<?php

$login1 = $_SESSION['login'];
$userid1 = mysql_query("SELECT * FROM `flss`.`accounts` WHERE `user` = '$login1'");
while($rowshow1 = mysql_fetch_array($userid1))
{
	$getid1 = $rowshow1['account_id'];
}

$applicant_id = $_SESSION['applicant_id'];
$getrefid2 = mysql_query("SELECT * FROM `flss`.`applicant` WHERE `applicant_id` = {$applicant_id}");
while($refidrow2 = mysql_fetch_array($getrefid2))
{
	$apprefid = $refidrow2['refid'];	
}

?>

<style>
.h-top
{ 
  width: 100%;
  position: fixed;
  top: 0px;
  background: #FFFFFF;
  border: 0px solid transparent;
  border-color:#1C20F3;
  border-bottom-width:medium;
  min-height: 50px;
  left: 0px;
  z-index: 5000;
}

.h-top-logo
{
  margin-left: 220px;
  top: 0px;
  padding: 0px;
  border: 0px transparent;
  display:inline-block;
}

.h-top-menu
{
	float: right;
	min-height:10px;
	margin-right:205px;
	margin-top:12px;
}

a
{
	text-decoration:none;
}
#nav {
    background-color: #fff;
	float:right;
	
}
#nav_wrapper {
    min-width: 510px ;
    margin: 0 auto;
    text-align: left;
}
#nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    position: relative;
    min-width: 10px;
}
#nav ul li {
    display: inline-block;
}
#nav ul li:hover {
    background-color:#DDDDDD;
}
#nav ul li a, visited {
    color: # 936D6D;
    display: block;
    padding: 15px;
    text-decoration: none;
}
#nav ul li:hover ul {
    display: block;
}
#nav ul ul {
    display: none;
    position: absolute;
    background-color: #fff;
    border: 1px solid #000000;
    border-top: 0;
    margin-left: -3px;
}
#nav ul ul li {
    display: block;
}
#nav ul ul li a:hover {
    color: #fff;
}

#nav ul li p:hover {
	background-color: #fff;
}
</style>
<div class="h-top">
<div class="h-top-logo">

<a href="../applicant/index.php"> <img src="../images/handlogo.png" height="50"> </a>
 
</div>
<div id="nav">
    <div id="nav_wrapper">
        <ul>
            <li style="background: url(../applicant/images/templatemo_menu_divider.png) center right no-repeat"><a href="../applicant/index.php">Home</a>
            </li>
            <li style="background: url(../applicant/images/templatemo_menu_divider.png) center right no-repeat"> <a href="../applicant/search.php">Search Job</a>
            </li>
             <li style="background: url(../applicant/images/templatemo_menu_divider.png) center right no-repeat">
                <a href="#">Profile <img src="../images/dropdownicon.png" style="position:relative; width:15px; height:15px; top:5px;">
                </a>
            <ul>
                
                    <li> <a href="profile.php">My Profile</a>
                    </li>
                    <li><a href="resume.php">Edit Resume</a>
					</li>
           			<li><a href="viewapplicant.php?refid=<?php echo $apprefid ?>" onClick="window.open(this.href,'popupwindow','left=200,top=50,width=1000,height=600,scrollbars=yes,menu=0,status=0'); return false;" >View Resume</a>
					</li>
           			
           </ul>

            </li>
             
            <li> <a href="#">Account <img src="../images/dropdownicon.png" style="position:relative; width:15px; height:15px; top:5px;"></a>

                <ul>
                
                    <li> <a href="Logout.php" name="logout">Logout</a>
                    	
                    </li>
                    
                    
                </ul>
            </li>
            
            
        </ul>
    </div>
    <!-- Nav wrapper end -->
</div>
<!-- Nav end -->
</div>